package com.sc.nft.vo.question;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author JYT
 * @create 2024/5/7 14:22
 */
@Data
public class QuestionPageVO {
    /**
     * 主题活动id
     */
    @ApiModelProperty(value = "主题活动id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 问题标题
     */
    @ApiModelProperty(value = "问题标题")
    private String questionTitle;
    /**
     * 问题类型
     */
    @ApiModelProperty(value = "问题类型")
    private String questionType;
    /**
     * 问题描述
     */
    @ApiModelProperty(value = "问题描述")
    private String questionAnswer;
    /**
     * 主题活动创建时间
     */
    @ApiModelProperty(value = "主题活动创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 主题活动修改时间
     */
    @ApiModelProperty(value = "主题活动修改时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifyTime;
}
